<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U('index')}" method="post">
        <input type="hidden" name="pageSize" value="${model.pageSize}">
        <input type="hidden" name="pageCurrent" value="${model.pageCurrent}">
        <input type="hidden" name="orderField" value="${param.orderField}">
        <input type="hidden" name="orderDirection" value="${param.orderDirection}">
        <div class="bjui-searchBar">
            <div class="pull-right">
                <span><a href="{:U('User/outxls')}" class="btn btn-blue" data-toggle="doexport" data-icon="arrow-up" onclick="javascript:exportDialog();">导出</a></span>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th>序号</th>
            <th>姓名</th>
            <th>别名</th>
            <th>公司</th>
            <th>用户身份</th>
            <th>手机</th>
            <th>邮箱</th>
            <th data-order-direction="asc" data-order-field="last_login_time">最后登录时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <notempty name="_list">
            <volist name="_list" id="vo">
                <tr data-id="{$vo.uid}">
                    <td><input type="checkbox" name="ids" data-toggle="icheck" value="{$vo.uid}"></td>
                    <td>{$vo.uid|default=$vo['id']}</td>
                    <td>{$vo.nickname}</td>
                    <td>{$vo.alias}</td>
                    <td>{$vo.business_name}</td>
                    <td>{$vo.role_name}</td>
                    <td>{$vo.mobile}</td>
                    <td>{$vo.email}</td>
                    <td>{$vo.last_login_time|time_format}</td>
                    <td>
                        <!--<a href="{:U('editPassword?id='.$vo['uid'])}" class="btn btn-green" data-toggle="dialog"
                           data-width="800" data-height="250" data-id="dialog-normal" data-mask="true"
                           data-title="{$vo.nickname}-编辑">修改</a><a
                            href="{:U('User/changeStatus?method=deleteUser&id='.$vo['uid'])}" class="btn btn-red"
                            data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a>-->
                        <a href="{:U('editUserInfo?id='.$vo['id'])}" class="btn btn-green" data-toggle="dialog" data-id="dialog-normal" data-mask="true"
                           data-title="{$vo.nickname}-备注">备注</a>
                        <a href="{:U('actionLog?id='.$vo['uid'])}" class="btn btn-green"
                           data-toggle="navtab" data-id="add{$vo['id']}"
                           data-title="{$vo.nickname}用户行为">用户行为</a>
                    </td>
                </tr>
            </volist>
            <else/>
            <td colspan="9" class="text-center"> aOh! 暂时还没有用户! </td>
        </notempty>
        </tbody>
    </table>
</div>
</div>
